package com.coocaa.typhoon.api.v1.mysql.service;

import com.coocaa.typhoon.api.v1.mysql.model.entity.UserFileEntity;
import com.coocaa.typhoon.api.v1.mysql.service.base.UserFileBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author bijiahao
 * @date : 2025/9/22 21:13
 * @description
 */
@Service
public class UserFileUpdateService {
    @Autowired
    private UserFileBaseService userFileBaseService;


    public void save(UserFileEntity userFileEntity) {
        userFileBaseService.save(userFileEntity);
    }

    public void save(List<UserFileEntity> userFileEntityList) {
        userFileBaseService.saveBatch(userFileEntityList);
    }

}
